1 <?xml version="1.0" encoding="utf-8"?>
2 <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" name="MyService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
3 <wsp:Policy wsu:Id="NetTcpBinding_IMyService_policy">
6 <msb:BinaryEncoding xmlns:msb="http://schemas.microsoft.com/ws/06/2004/mspolicy/netbinary1">
9 </wsaw:UsingAddressing>
14 <xsd:schema targetNamespace="http://tempuri.org/Imports">
15 <xsd:import namespace="http://tempuri.org/" />
16 <xsd:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
19 <wsdl:message name="IMyService_DoWork_InputMessage">
20 <wsdl:part name="parameters" element="tns:DoWork" />
22 <wsdl:message name="IMyService_DoWork_OutputMessage">
23 <wsdl:part name="parameters" element="tns:DoWorkResponse" />
25 <wsdl:portType name="IMyService">
26 <wsdl:operation name="DoWork">
27 <wsdl:input wsaw:Action="http://tempuri.org/IMyService/DoWork" message="tns:IMyService_DoWork_InputMessage" />
28 <wsdl:output wsaw:Action="http://tempuri.org/IMyService/DoWorkResponse" message="tns:IMyService_DoWork_OutputMessage" />
31 <wsdl:binding name="NetTcpBinding_IMyService" type="tns:IMyService">
32 <wsp:PolicyReference URI="#NetTcpBinding_IMyService_policy">
33 </wsp:PolicyReference>
34 <soap12:binding transport="http://schemas.microsoft.com/soap/tcp" />
35 <wsdl:operation name="DoWork">
36 <soap12:operation soapAction="http://tempuri.org/IMyService/DoWork" style="document" />
38 <soap12:body use="literal" />
41 <soap12:body use="literal" />
45 <wsdl:service name="MyService">
46 <wsdl:port name="NetTcpBinding_IMyService" binding="tns:NetTcpBinding_IMyService">
47 <soap12:address location="net.tcp://localhost:9001/MyServiceEndpoint" />
48 <wsa10:EndpointReference>
49 <wsa10:Address>net.tcp://localhost:9001/MyServiceEndpoint</wsa10:Address>
50 </wsa10:EndpointReference>